package com.enjoyor.soa.traffic.server.efoms.dubbo.manage;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.enjoyor.soa.traffic.core.efoms.service.IDateMonitorService;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

@Service(timeout = 6000)
public class ManageDateMonitorService {

	@Autowired
	private IDateMonitorService dateMonitorService;
	
	/***
	 * 获取
	 * @param typeCode
	 * @param devId
	 * @return
	 */
	public ResultPojo getDateMonitorChar(String typeCode, String devId){
		ResultPojo resultPojo = dateMonitorService.getDateMonitorChar(typeCode, devId);
		return resultPojo;
	}
	
	/***
	 * 获取实时表盘监测数据；
	 * @param typeCode
	 * @param devId
	 * @return
	 */
	public ResultPojo getDateMonitorReal(String typeCode, String devId){
		ResultPojo resultPojo = dateMonitorService.getDateMonitorReal(typeCode, devId);
		return resultPojo;
	}
}
